Skip to content

Send error to Sentry#264

Merged
henteko merged 5 commits intomasterfrom
work/send_sentry
Jan 16, 2019
Merged

Send error to Sentry#264
henteko merged 5 commits intomasterfrom
work/send_sentry

Conversation

@henteko
Copy link
Copy Markdown
Member

@henteko henteko commented Jan 15, 2019

Removed GithubIssueRequest, because we can not manage large numbers of errors by type on GitHub issues.
Sending an error to Sentry as an alternative.

@henteko henteko requested a review from jmatsu January 15, 2019 08:29
system('open', url) if Commands::Deploy::Push.openable?
end
puts ''
return if error.kind_of?(DeployGate::RavenIgnoreException)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

READMEで「Sentryで送るよ」と書き、また環境変数で送信できないようにするとかの仕組みを入れた方が誠実な気がします 🤔  DISABLE_DEPLOYGATE_CLI_SENTRY とかですかね

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmatsu
ありがとうございます!
やはり自動でSentryにローカルの情報を送るのは誠実ではないですね

だとすると

  1. 提案してくれた方法
  2. Sentryにエラーを送るときに送ってもいいか聞く

のどちらかかなと考えているのですが、2の方はやり過ぎですかね?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GDPRとかそっちの考え方的には「収集はopt-in/outできること」なので、2なら安心安全ですね 👍

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

では強めに2の方で行きます!ありがとうございます!

@henteko
Copy link
Copy Markdown
Member Author

henteko commented Jan 16, 2019

@jmatsu
Error Reportを送信するかどうかを聞くようにしました!もう一度レビューをお願いします!
2019-01-16 14 47 57

Copy link
Copy Markdown
Contributor

@jmatsu jmatsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 💯 💯 💯 💯 💯 💯 LGTM!

@henteko
Copy link
Copy Markdown
Member Author

henteko commented Jan 16, 2019

ありがとうございます!

@henteko henteko merged commit f9436c1 into master Jan 16, 2019
@henteko henteko deleted the work/send_sentry branch January 16, 2019 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants